package com.demo.StudentService;

import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 故我
 * Date: 2023-10-26
 * Time: 20:51
 */
@Service
public class SService {
    //采用属性注入的方式获取bean对象
    public void Say() {
        System.out.println("Hi,Service!");
    }
}
